/**
 * @summary plug
 */
import xlsx from 'node-xlsx';
import * as fs from 'fs';

/**
 * @class xlsx
 */
class Xlsx {
    public static fileSc(): Buffer {
        const dataByParse: any = xlsx.parse(fs.readFileSync('public/xlsxTest.xlsx'));
        return xlsx.build(dataByParse);
    }
}

export default Xlsx;